dd.http.request({
    time:true,
    post:{
        "post":"foo"
    },
    get:{
        "get":"bar"
    },
    url:"file.php",
    onSuccess:function()
    {
        dd("view").text = this.text;
    },
    onFailure:function()
    {
        dd("view").text = "Error: " + this.status + "\n";
        dd("view").text += this.text;
    }
});